<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<body>

    <!-- 挂载点 -->
    <div id="app">
        <h2>{{ msg }}</h2>
        <button @click="count++">{{ count }}</button>
    </div>


    <script type="module">
        import { createApp } from './lib/vue3.esm.browser.js'

        createApp({
            data() {
                return {
                    msg: 'Hello Vue3',
                    count: 100
                }
            }
        }).mount('#app')
    </script>
</body>

</html>